# -*-coding:utf-8 -*-
# File  : saveConfiguration_api.py
# Time  ：2021/12/28 11:24
# Author：author name

from api.manage.manage_base import ManageBase


class SaveConfigurationApi(ManageBase):
    def __init__(self):
        """机构用户配置接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/orguser/saveConfiguration"
        self.json = {"userId": "a297b74f4dc54dfd8556d8346eac16b3", "orgTypeCode": "YYSZD0001", "joinExtends": [
            {"orgTypeCode": "YYSZD0001", "userId": "a297b74f4dc54dfd8556d8346eac16b3",
             "orgId": "c66d0399d8344958bd66325b57a97bf1", "isFinancial": 1, "roleId": "", "sceneType": "",
             "boolPlatform": ""}, {"orgTypeCode": "YYSZD0001", "userId": "a297b74f4dc54dfd8556d8346eac16b3",
                                   "orgId": "d585e0a6736646acb97f08535c1f76d5", "isFinancial": 0, "roleId": "",
                                   "sceneType": "STORE", "boolPlatform": ""}]}
        self.method = "post"
